package com.kcsj.domain.user;

/**
 * @author 李鑫元
 * 4th Dec. 2020
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
public class LoginLog implements java.io.Serializable {
    //登录日志编号
    private Integer id;
    //登录用户
    private User user;
    //登录的IP号
    private String IP;
    //登录地址
    private String loginLocation;
    //客户系统
    private String clientSystem;
    //HTTP协议
    private String HTTPProtocol;
    //访问浏览器
    private String visitBrowser;
    //登陆时间
    private String loginTime;

    public LoginLog(User user, String IP, String loginLocation, String clientSystem, String HTTPProtocol, String visitBrowser) {
        this.user = user;
        this.IP = IP;
        this.loginLocation = loginLocation;
        this.clientSystem = clientSystem;
        this.HTTPProtocol = HTTPProtocol;
        this.visitBrowser = visitBrowser;
    }
}

